﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace SMSService
{
    public static class Configuration
    {
        public static string GetAppConfiguration(string key)
        {
            return ConfigurationManager.AppSettings.Get(key);
        }

        public static string GetConnectionString(string key)
        {
            return ConfigurationManager.ConnectionStrings[key].ToString();
        }

        public static string CurrentConnectionString
        {

            get { return GetConnectionString("DRMConnection"); }
        }
    }
}